package design.decorator;

/**
 * Created by admin on 2019/3/20.
 */
public class Client {
    public static void main(String[] args) {
        ICar car = new Car();
        car = new FlyCar(car);
        car = new WaterCar(car);
        car.move();

    }
}
